﻿using DFGK_WMS.Model.DTO;
using DFGK_WMS.Model.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DFGK_WMS.IRepository
{
    public interface IPDASelectOutboundRepository: IBaseRepository<TShippingOrderDetail>
    {
        /// <summary>
        /// 拣选出库
        /// </summary>
        /// <param name="PalletBarcode"></param>
        /// <param name="msg"></param>
        /// <returns></returns>
        bool GetSelectShipping(string PalletBarcode,string ShippingOrderSn,/*decimal OutQty,*/ out string msg);


        /// <summary>
        /// 获取托盘满载率
        /// </summary>
        /// <param name="PalletBarcode"></param>
        /// <param name="msg"></param>
        /// <returns></returns>
        decimal? GetPallLoadFactor(string PalletBarcode,out string msg);


        /// <summary>
        /// 根据托盘条码带出相关信息
        /// </summary>
        /// <param name="PalletBarcode"></param>
        /// <returns></returns>
        InformationByBarcodeDto GetInformationByBarcode(string PalletBarcode,out string msg);
    }

}
